package luaj.utils.functions;

import luaj.Globals;
import luaj.Varargs;
import luaj.lib.VarArgFunction;
import luaj.utils.LuaActivity;

public class startActivity extends VarArgFunction {
    private Globals globals;
    private File path;
    public startActivity(Globals globalseel, File path) {
        this.globals = globals;
        this.path = path;
    }

    @Override
    public Varargs invoke(Varargs args) {
        LuaActivity.start(globals);
        return NONE;
    }
}
